package com.yz.newspaper.mapper;

import com.yz.newspaper.pojo.po.UserScore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * VIEW Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-05-02
 */
@Mapper
public interface UserScoreMapper extends BaseMapper<UserScore> {

    List<UserScore> getUserScore(@Param("username") String username, @Param("mediaName") String mediaName, @Param("year") Integer year, @Param("month") Integer month);
}
